.main {
    width: 100%;
    flex: 1;
    background-color: var(--bg-body);
    color: inherit;

    @media (min-width: 768px) {
      .allcontainer {
        width: 768px;
      }
    }

    @media (min-width: 992px) {
      .allcontainer {
        width: 970px;
      }
    }

    @media (min-width: 1200px) {
      .allcontainer {
        width: 1140px;
      }
    }

    .allcontainer {
      margin-right: auto;
      margin-left: auto;
      background: var(--bg-body);
      box-sizing: border-box;
      display: flex;
      flex: 1;
      justify-content: center;
      flex-wrap: wrap;

      .mainleft{
        width: calc(100% - 20rem - 1rem);
        padding-top: 1rem;
        padding-bottom: 3rem;
        box-sizing: border-box;
        >div{
            box-sizing: border-box;
            width: 100%;
            padding: 1rem ;
            background: var(--bg-second);
            box-shadow: var(--box-shadow);
            border-radius: var(--border-radius);
            >h1{
                margin: .67em 0 0;
                color: inherit;
                font-weight: 700;
                font-size: 2.5rem;
                line-height: 1rem;
                line-height: 1.5;
                text-align: center;
            }
            >P{
                margin-bottom: 1.2em;
                color: inherit;
                font-style: italic;
                text-align: center;
            }
            img{width: 100%;}
        }

      }
      .mainright{
            width: 20rem;
            margin-left: 1rem;
            padding-top: 1rem;
            padding-bottom: 1rem;
            background: var(--bg-body);
            color: inherit;
            >.sticky{
                position: sticky;
                top: 1rem;
                margin-bottom: 1rem;
                .menu{
                    p{
                        color: var(--main-text-color);
                        font-weight: 600;
                        line-height: 22px;
                        margin-bottom: 12px;
                    }
                    ul{
                        li{
                            padding-left: 12px;
                            cursor: pointer;
                            --dot-left: 0px;
                            --dot-width: 6px;
                            position: relative;
                            z-index: 10;
                            padding: 4px 0 4px 12px;
                            white-space: nowrap;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            color: var(--main-text-color);
                            margin-bottom: .75rem;
                        }
                        li::before {
                            content: "";
                            position: absolute;
                            top: 50%;
                            left: var(--dot-left);
                            margin-top: -2px;
                            width: var(--dot-width);
                            height: var(--dot-width);
                            background-color: currentColor;
                            border-radius: 50%;
                        }
                    }
                }
            }
      }
    }
  }